import React,{useEffect,useState} from 'react'
import MyTime from './views/MyTime'

export default function App() {
  const [show,setShow]=useState(true)
  return (<>
    {show&& <MyTime></MyTime>}
    <button onClick={()=>setShow(!show)}>switch</button>
  </>)
}
